create or replace function ufn_insertEmpleado()
returns trigger
as $$
begin
if(TG_OP='INSERT') THEN
insert into sf_usuarios (usuarioemail,password) 
values (NEW.nombre,NEW.appaterno);
END IF;
return NEW;
end;
$$